home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-07-15 | 2.5 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: ICON.LDEF.p
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| ZX81 Sinclair BASIC (image/sinclairBASIC)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| bsdiff patch (other/bsdiffPatch)
| ext
| Unsupported |
1%
| dexvert
| imgdiff patch (other/imgdiffPatch)
| ext
| Unsupported |
1%
| dexvert
| WSUS Patch Storage File (other/wsusPatchStorageFile)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Fri Jul 15 13:00:00 1994, modified Fri Jul 15 13:00:00 1994, creator 'MPS ', type ASCII, 1868 bytes "ICON.LDEF.p" , at 0x7cc 482 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 49 43 4f 4e 2e 4c | 44 45 46 2e 70 00 00 00 |..ICON.L|DEF.p...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 07 4c 00 | 00 01 e2 aa 4c 71 10 aa |......L.|....Lq..|
|00000060| 4c 71 10 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |Lq......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c6 ef 00 00 |........|........|
|00000080| 7b 0d 20 43 4f 50 59 52 | 49 47 48 54 20 28 43 29 |{. COPYR|IGHT (C)|
|00000090| 20 31 39 38 34 2d 31 39 | 39 30 20 41 70 70 6c 65 | 1984-19|90 Apple|
|000000a0| 20 43 6f 6d 70 75 74 65 | 72 2c 49 6e 63 2e 0d 20 | Compute|r,Inc.. |
|000000b0| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|000000c0| 76 65 64 0d 7d 0d 55 4e | 49 54 20 49 63 6f 6e 4c |ved.}.UN|IT IconL|
|000000d0| 44 45 46 3b 0d 0d 49 4e | 54 45 52 46 41 43 45 0d |DEF;..IN|TERFACE.|
|000000e0| 0d 55 73 65 73 09 4d 65 | 6d 54 79 70 65 73 2c 20 |.Uses.Me|mTypes, |
|000000f0| 51 75 69 63 6b 44 72 61 | 77 2c 20 4f 53 49 6e 74 |QuickDra|w, OSInt|
|00000100| 66 2c 20 54 6f 6f 6c 49 | 6e 74 66 2c 20 50 61 63 |f, ToolI|ntf, Pac|
|00000110| 6b 49 6e 74 66 2c 0d 09 | 09 09 52 65 73 45 64 3b |kIntf,..|..ResEd;|
|00000120| 0d 0d 50 52 4f 43 45 44 | 55 52 45 20 44 72 61 77 |..PROCED|URE Draw|
|00000130| 43 65 6c 6c 28 20 4d 65 | 73 73 61 67 65 3a 20 49 |Cell( Me|ssage: I|
|00000140| 4e 54 45 47 45 52 3b 20 | 6c 53 65 6c 65 63 74 3a |NTEGER; |lSelect:|
|00000150| 20 42 4f 4f 4c 45 41 4e | 3b 20 6c 52 65 63 74 3a | BOOLEAN|; lRect:|
|00000160| 20 52 65 63 74 3b 20 6c | 43 65 6c 6c 3a 20 50 6f | Rect; l|Cell: Po|
|00000170| 69 6e 74 3b 0d 20 20 20 | 20 20 20 20 20 20 20 20 |int;. | |
|00000180| 20 20 20 20 20 20 20 20 | 20 6c 44 61 74 61 4f 66 | | lDataOf|
|00000190| 66 73 65 74 2c 20 6c 44 | 61 74 61 4c 65 6e 3a 20 |fset, lD|ataLen: |
|000001a0| 49 4e 54 45 47 45 52 3b | 20 6c 68 3a 20 4c 69 73 |INTEGER;| lh: Lis|
|000001b0| 74 48 61 6e 64 6c 65 20 | 29 3b 0d 0d 49 4d 50 4c |tHandle |);..IMPL|
|000001c0| 45 4d 45 4e 54 41 54 49 | 4f 4e 0d 0d 50 52 4f 43 |EMENTATI|ON..PROC|
|000001d0| 45 44 55 52 45 20 44 72 | 61 77 49 63 6f 6e 20 28 |EDURE Dr|awIcon (|
|000001e0| 6c 52 65 63 74 3a 20 52 | 65 63 74 3b 20 74 68 65 |lRect: R|ect; the|
|000001f0| 49 63 6f 6e 3a 20 48 61 | 6e 64 6c 65 29 3b 0d 0d |Icon: Ha|ndle);..|
|00000200| 43 4f 4e 53 54 20 49 63 | 6f 6e 53 69 7a 65 20 3d |CONST Ic|onSize =|
|00000210| 20 31 32 38 3b 0d 0d 42 | 45 47 49 4e 0d 49 46 20 | 128;..B|EGIN.IF |
|00000220| 28 53 69 7a 65 52 65 73 | 6f 75 72 63 65 28 74 68 |(SizeRes|ource(th|
|00000230| 65 49 63 6f 6e 29 20 3e | 3d 20 49 63 6f 6e 53 69 |eIcon) >|= IconSi|
|00000240| 7a 65 29 20 54 48 45 4e | 0d 09 50 6c 6f 74 49 63 |ze) THEN|..PlotIc|
|00000250| 6f 6e 28 6c 52 65 63 74 | 2c 20 74 68 65 49 63 6f |on(lRect|, theIco|
|00000260| 6e 29 3b 0d 45 4e 44 3b | 0d 0d 7b 20 54 68 69 73 |n);.END;|..{ This|
|00000270| 20 69 73 20 74 68 65 20 | 63 75 73 74 6f 6d 20 64 | is the |custom d|
|00000280| 72 61 77 50 72 6f 63 20 | 66 6f 72 20 74 68 65 20 |rawProc |for the |
|00000290| 6c 69 73 74 20 28 77 68 | 69 63 68 20 63 6f 6e 74 |list (wh|ich cont|
|000002a0| 61 69 6e 73 20 74 68 65 | 20 72 65 73 6f 75 72 63 |ains the| resourc|
|000002b0| 65 20 49 44 27 73 29 2e | 20 20 49 74 0d 09 73 69 |e ID's).| It..si|
|000002c0| 6d 70 6c 79 20 64 72 61 | 77 73 20 74 68 65 20 69 |mply dra|ws the i|
|000002d0| 63 6f 6e 20 69 6e 20 74 | 68 65 20 67 69 76 65 6e |con in t|he given|
|000002e0| 20 72 65 63 74 20 61 6e | 64 20 66 72 61 6d 65 73 | rect an|d frames|
|000002f0| 20 61 20 73 65 6c 65 63 | 74 69 6f 6e 20 72 65 63 | a selec|tion rec|
|00000300| 74 20 61 72 6f 75 6e 64 | 20 69 74 20 69 66 0d 09 |t around| it if..|
|00000310| 74 6f 6c 64 20 74 6f 2e | 20 0d 09 4e 4f 54 45 3a |told to.| ..NOTE:|
|00000320| 20 20 54 68 69 73 20 69 | 73 20 75 73 65 64 20 62 | This i|s used b|
|00000330| 79 20 62 6f 74 68 20 49 | 43 4f 4e 20 61 6e 64 20 |y both I|CON and |
|00000340| 49 43 4e 23 20 70 69 63 | 6b 65 72 73 2e 20 7d 0d |ICN# pic|kers. }.|
|00000350| 50 52 4f 43 45 44 55 52 | 45 20 44 72 61 77 43 65 |PROCEDUR|E DrawCe|
|00000360| 6c 6c 28 4d 65 73 73 61 | 67 65 3a 20 49 4e 54 45 |ll(Messa|ge: INTE|
|00000370| 47 45 52 3b 20 6c 53 65 | 6c 65 63 74 3a 20 42 4f |GER; lSe|lect: BO|
|00000380| 4f 4c 45 41 4e 3b 20 6c | 52 65 63 74 3a 20 52 65 |OLEAN; l|Rect: Re|
|00000390| 63 74 3b 20 6c 43 65 6c | 6c 3a 20 50 6f 69 6e 74 |ct; lCel|l: Point|
|000003a0| 3b 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|000003b0| 20 20 20 20 20 6c 44 61 | 74 61 4f 66 66 73 65 74 | lDa|taOffset|
|000003c0| 2c 20 6c 44 61 74 61 4c | 65 6e 3a 20 49 4e 54 45 |, lDataL|en: INTE|
|000003d0| 47 45 52 3b 20 6c 68 3a | 20 4c 69 73 74 48 61 6e |GER; lh:| ListHan|
|000003e0| 64 6c 65 29 3b 0d 0d 56 | 41 52 0d 09 74 68 65 49 |dle);..V|AR..theI|
|000003f0| 63 6f 6e 3a 20 48 61 6e | 64 6c 65 3b 0d 09 69 64 |con: Han|dle;..id|
|00000400| 3a 20 49 4e 54 45 47 45 | 52 3b 0d 09 77 61 73 4c |: INTEGE|R;..wasL|
|00000410| 6f 61 64 65 64 3a 20 42 | 4f 4f 4c 45 41 4e 3b 0d |oaded: B|OOLEAN;.|
|00000420| 09 0d 09 7b 20 54 68 69 | 73 20 72 6f 75 74 69 6e |...{ Thi|s routin|
|00000430| 65 20 73 69 6d 70 6c 79 | 20 6c 6f 6f 6b 73 20 75 |e simply| looks u|
|00000440| 70 20 69 6e 20 74 68 65 | 20 6c 69 73 74 20 61 74 |p in the| list at|
|00000450| 20 74 68 65 20 67 69 76 | 65 6e 20 63 65 6c 6c 2c | the giv|en cell,|
|00000460| 20 65 78 74 72 61 63 74 | 73 20 74 68 65 20 49 44 | extract|s the ID|
|00000470| 20 61 6e 64 0d 09 09 67 | 65 74 73 20 74 68 65 20 | and...g|ets the |
|00000480| 72 65 73 6f 75 72 63 65 | 20 63 61 6c 6c 65 64 20 |resource| called |
|00000490| 66 6f 72 2e 20 20 52 65 | 74 75 72 6e 73 20 4e 49 |for. Re|turns NI|
|000004a0| 4c 20 69 66 20 6e 6f 74 | 20 66 6f 75 6e 64 2e 20 |L if not| found. |
|000004b0| 20 4e 6f 74 65 2c 20 74 | 68 69 73 20 61 73 73 75 | Note, t|his assu|
|000004c0| 6d 65 73 0d 09 09 74 68 | 65 20 72 65 73 66 69 6c |mes...th|e resfil|
|000004d0| 65 20 69 73 20 73 65 74 | 20 75 70 20 63 6f 72 72 |e is set| up corr|
|000004e0| 65 63 74 6c 79 20 7d 0d | 09 46 55 4e 43 54 49 4f |ectly }.|.FUNCTIO|
|000004f0| 4e 20 20 49 63 6f 6e 46 | 65 74 63 68 28 6c 43 65 |N IconF|etch(lCe|
|00000500| 6c 6c 3a 20 70 6f 69 6e | 74 3b 20 6c 48 61 6e 64 |ll: poin|t; lHand|
|00000510| 6c 65 3a 20 4c 69 73 74 | 48 61 6e 64 6c 65 29 3a |le: List|Handle):|
|00000520| 20 48 61 6e 64 6c 65 20 | 3b 0d 0d 09 56 41 52 0d | Handle |;...VAR.|
|00000530| 09 09 6c 65 6e 3a 20 49 | 4e 54 45 47 45 52 3b 0d |..len: I|NTEGER;.|
|00000540| 09 09 65 72 72 3a 20 4f | 73 45 72 72 3b 0d 09 09 |..err: O|sErr;...|
|00000550| 74 65 6d 70 48 3a 48 61 | 6e 64 6c 65 3b 0d 09 09 |tempH:Ha|ndle;...|
|00000560| 0d 09 42 45 47 49 4e 0d | 09 49 63 6f 6e 46 65 74 |..BEGIN.|.IconFet|
|00000570| 63 68 20 3a 3d 20 4e 49 | 4c 3b 0d 09 6c 65 6e 3a |ch := NI|L;..len:|
|00000580| 3d 32 3b 0d 09 4c 47 65 | 74 43 65 6c 6c 28 40 69 |=2;..LGe|tCell(@i|
|00000590| 64 2c 20 6c 65 6e 2c 20 | 6c 43 65 6c 6c 2c 20 6c |d, len, |lCell, l|
|000005a0| 48 61 6e 64 6c 65 29 3b | 09 7b 20 47 65 74 20 74 |Handle);|.{ Get t|
|000005b0| 68 65 20 49 44 20 66 72 | 6f 6d 20 74 68 65 20 6c |he ID fr|om the l|
|000005c0| 69 73 74 2e 20 7d 0d 09 | 49 46 20 6c 65 6e 20 3e |ist. }..|IF len >|
|000005d0| 20 30 20 54 48 45 4e 0d | 09 09 42 45 47 49 4e 09 | 0 THEN.|..BEGIN.|
|000005e0| 7b 20 4c 6f 61 64 20 74 | 68 65 20 72 65 73 6f 75 |{ Load t|he resou|
|000005f0| 72 63 65 20 73 69 6e 63 | 65 20 77 65 20 77 61 6e |rce sinc|e we wan|
|00000600| 74 20 74 6f 20 64 72 61 | 77 20 69 74 2e 20 7d 0d |t to dra|w it. }.|
|00000610| 09 09 74 65 6d 70 48 20 | 3a 3d 20 52 45 47 65 74 |..tempH |:= REGet|
|00000620| 31 52 65 73 6f 75 72 63 | 65 53 70 65 63 69 61 6c |1Resourc|eSpecial|
|00000630| 28 50 69 63 6b 48 61 6e | 64 6c 65 28 6c 48 61 6e |(PickHan|dle(lHan|
|00000640| 64 6c 65 5e 5e 2e 72 65 | 66 43 6f 6e 29 5e 5e 2e |dle^^.re|fCon)^^.|
|00000650| 74 68 65 52 65 73 46 69 | 6c 65 2c 20 50 69 63 6b |theResFi|le, Pick|
|00000660| 48 61 6e 64 6c 65 28 6c | 48 61 6e 64 6c 65 5e 5e |Handle(l|Handle^^|
|00000670| 2e 72 65 66 43 6f 6e 29 | 5e 5e 2e 72 54 79 70 65 |.refCon)|^^.rType|
|00000680| 2c 20 69 64 2c 20 77 61 | 73 4c 6f 61 64 65 64 2c |, id, wa|sLoaded,|
|00000690| 20 65 72 72 29 3b 0d 09 | 09 49 63 6f 6e 46 65 74 | err);..|.IconFet|
|000006a0| 63 68 20 3a 3d 20 74 65 | 6d 70 48 3b 0d 09 09 45 |ch := te|mpH;...E|
|000006b0| 4e 44 3b 0d 09 45 4e 44 | 3b 0d 0d 42 45 47 49 4e |ND;..END|;..BEGIN|
|000006c0| 09 7b 20 44 72 61 77 43 | 65 6c 6c 20 7d 0d 43 41 |.{ DrawC|ell }.CA|
|000006d0| 53 45 20 20 6d 65 73 73 | 61 67 65 20 4f 46 0d 09 |SE mess|age OF..|
|000006e0| 6c 44 72 61 77 4d 73 67 | 2c 20 6c 48 69 6c 69 74 |lDrawMsg|, lHilit|
|000006f0| 65 4d 73 67 3a 0d 09 09 | 42 45 47 49 4e 0d 09 09 |eMsg:...|BEGIN...|
|00000700| 74 68 65 49 63 6f 6e 20 | 3a 3d 20 49 63 6f 6e 46 |theIcon |:= IconF|
|00000710| 65 74 63 68 28 6c 43 65 | 6c 6c 2c 20 6c 68 29 3b |etch(lCe|ll, lh);|
|00000720| 0d 0d 09 09 44 72 61 77 | 4c 44 45 46 20 28 6d 65 |....Draw|LDEF (me|
|00000730| 73 73 61 67 65 2c 20 6c | 53 65 6c 65 63 74 2c 20 |ssage, l|Select, |
|00000740| 6c 52 65 63 74 2c 20 74 | 68 65 49 63 6f 6e 2c 20 |lRect, t|heIcon, |
|00000750| 69 64 2c 20 27 27 2c 20 | 33 32 2c 20 33 32 2c 20 |id, '', |32, 32, |
|00000760| 40 44 72 61 77 49 63 6f | 6e 2c 20 6c 68 29 3b 0d |@DrawIco|n, lh);.|
|00000770| 09 09 0d 09 09 49 46 20 | 28 74 68 65 49 63 6f 6e |.....IF |(theIcon|
|00000780| 20 3c 3e 20 4e 49 4c 29 | 20 26 20 28 4e 4f 54 20 | <> NIL)| & (NOT |
|00000790| 77 61 73 4c 6f 61 64 65 | 64 29 20 54 48 45 4e 0d |wasLoade|d) THEN.|
|000007a0| 09 09 09 48 50 75 72 67 | 65 28 74 68 65 49 63 6f |...HPurg|e(theIco|
|000007b0| 6e 29 3b 0d 09 09 45 4e | 44 3b 0d 09 45 4e 44 3b |n);...EN|D;..END;|
|000007c0| 0d 45 4e 44 3b 0d 0d 45 | 4e 44 2e 0d 00 00 00 00 |.END;..E|ND......|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 01 00 00 00 01 90 | 00 00 00 90 00 00 00 52 |........|.......R|
|00000810| 20 20 20 20 20 20 20 20 | 20 20 50 6c 6f 74 49 63 | | PlotIc|
|00000820| 6f 6e 28 20 72 2c 20 69 | 20 29 3b 0d 20 20 20 20 |on( r, i| );. |
|00000830| 0b 49 43 4f 4e 2e 4c 44 | 45 46 2e 70 02 00 00 00 |.ICON.LD|EF.p....|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 aa 6e eb d0 00 00 | 07 4c 00 00 01 e2 20 20 |...n....|.L.... |
|00000880| 20 20 20 52 54 53 0d 0d | 20 54 4f 20 33 20 44 4f | RTS..| TO 3 DO|
|00000890| 0d 20 20 20 42 65 67 69 | 6e 7b 49 6e 76 61 6c 20 |. Begi|n{Inval |
|000008a0| 76 69 65 77 73 20 6f 6e | 20 67 72 65 79 7d 0d 20 |views on| grey}. |
|000008b0| 20 20 4f 66 66 73 65 74 | 52 65 63 74 28 20 72 2c | Offset|Rect( r,|
|000008c0| 20 72 65 61 6c 44 65 6c | 74 61 2c 20 30 29 3b 0d | realDel|ta, 0);.|
|000008d0| 20 20 20 49 6e 76 61 6c | 52 65 63 74 28 20 72 20 | Inval|Rect( r |
|000008e0| 29 3b 0d 20 20 20 45 6e | 64 3b 0d 45 6e 64 3b 7b |);. En|d;.End;{|
|000008f0| 49 6e 76 61 6c 53 6d 61 | 6c 6c 56 69 65 77 73 7d |InvalSma|llViews}|
|00000900| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 b8 03 b9 |...H..Mo|naco....|
|00000910| 7f ff 04 3a 02 7f 02 80 | 7f ff 04 3b 02 80 03 b9 |...:....|...;....|
|00000920| 7f ff 7f ff 00 0a 00 06 | 00 02 00 27 00 00 03 65 |........|...'...e|
|00000930| 02 58 00 27 00 00 02 fd | 02 37 a3 09 7f a2 00 00 |.X.'....|.7......|
|00000940| 07 4c 00 00 07 4c 00 00 | 00 44 01 00 00 00 00 1e |.L...L..|.D......|
|00000950| 00 27 00 00 03 65 02 58 | 00 27 00 00 02 fd 02 37 |.'...e.X|.'.....7|
|00000960| 00 00 00 44 00 00 00 00 | 00 00 00 00 00 00 00 00 |...D....|........|
|00000970| 00 1e 15 00 80 00 00 00 | 04 31 35 2e 30 12 45 2e |........|.15.0.E.|
|00000980| 54 2e 4f 2e 2f 4d 50 57 | 20 50 72 6f 20 23 31 35 |T.O./MPW| Pro #15|
|00000990| 00 00 01 00 00 00 01 90 | 00 00 00 90 00 00 00 52 |........|.......R|
|000009a0| 00 49 bc fc 0f cc 00 00 | 00 1c 00 52 00 01 4d 50 |.I......|...R..MP|
|000009b0| 53 52 00 01 00 12 76 65 | 72 73 00 00 00 2a 03 ed |SR....ve|rs...*..|
|000009c0| ff ff 00 00 00 00 00 00 | 00 00 03 f0 ff ff 00 00 |........|........|
|000009d0| 00 4c 00 00 00 00 00 02 | ff ff 20 00 00 6e 00 49 |.L......|.. ..n.I|
|000009e0| ba 70 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.p......|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+